package jnpf.permission.fallback;

import jnpf.base.ActionResult;
import jnpf.exception.DataException;
import jnpf.permission.UserApi;
import jnpf.permission.UserSettingApi;
import jnpf.permission.entity.UserEntity;
import jnpf.permission.model.authorize.AuthorizeVO;
import jnpf.permission.model.user.*;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.*;

/**
 * 获取用户信息Api降级处理
 *
 * @author JNPF开发平台组
 * @version V3.1.0
 * @copyright 引迈信息技术有限公司（https://www.jnpfsoft.com）
 * @date 2021-03-24
 */
@Component
@Slf4j
public class UserSettingApiFallback implements UserSettingApi {

    @Override
    public AuthorizeVO getAuthorize() {
        return null;
    }
}
